Release 10.1A: OpenEdge Development:
Progress 4GL Reference


Type-name syntax

Specify a user-defined type name for a class, a super class, or an interface as a character string using the following syntax:

[package.]class-name 

package

A period-separated list of components that, along with the class name, uniquely identify the class, super class, or interface. The components are based on a valid directory pathname relative to PROPATH, where each component maps to a directory level in the path and each slash separator in the path is replaced with a period. If specified, the relative path of the class definition file represented by package must remain constant between compile time and run time.

Note: Do not place a class definition file in a directory whose name contains a period (.) character; Progress interprets the component after the period as another directory level and will not find the referenced class definition file.

class-name

The class name. This name must match the name of a class definition file (excluding the .cls or .r extension) located in the relative path represented by package, if specified.

This name must begin with an alphabetic character and it cannot contain a period.

Do not name a class type using a Progress reserved keyword or a built-in Progress data type name, such as INTEGER. For a list of Progress keywords, see the "Keyword Index" section.

If package or class-name contains embedded spaces, you must enclose the entire type name in quotes.

Example

If your PROPATH is "C:/myfiles", and your class definition file name is "C:/myfiles/acme/myObjs/CustObjs.cls", then Progress requires package to be "acme.myObjs." and class-name to be "CustObjs".


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095